﻿@{
    Layout = "/Views/Shared/_Main.cshtml";
   var errormsg= ViewBag.Message;
   var url = ViewBag.Url == null ? "/home/index" : ViewBag.Url;
}
<!--<div class="title-line title-line-red text-left"><h4>对不起，您访问的页面不存在！</h4></div>-->
@section head{
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        function jump(count) {
            window.setTimeout(function () {
                count--;
                if (count > 0) {
                    $('#num').html(count);
                    jump(count);
                } else {
                    location.href = "@url";
                }
            }, 1000);
        }
        jump(3);
    });
    </script>
}
<div class="row">
    <div class="span12 text-center">
        <br />
        <br />
        <br />
        <br />
        <h4 class="red">
            @{
                if(errormsg!=null&&errormsg!="")
                {
                    <span>@errormsg</span>
                }
                else
                {
                    <span>对不起，内部错误(500)，请稍后重试或联系管理员！</span>
                }
            }
            </h4>
            <span>将在<span id="num" style="color:Blue;font-size:18px;font-weight:bold" >3</span>秒后跳转</span>
        <br />
        <br />
        <br />
    </div>
</div>
